package com.yt.lxh.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CouponStatus {
    NOT_PUBLISH(0,"未发布"),
    NOT_START(1,"未开始"),
    RUNNING(2,"进行中"),
    ENDED(3,"已结束"),
    SUSPEND_USE(4,"暂停使用");

    @EnumValue
    private Integer code;
    private String comment;

}
